/*
 * @Author: your name
 * @Date: 2020-10-12 19:13:22
 * @LastEditTime: 2020-10-20 03:18:12
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \longh_admin\src\api\Home.js
 */
import request from '@/utils/request'

//获取首页统计产品供需数量
export function getUndoneStatistics(data) {
  return request({
      url: '/api/sysStatistics/getUndoneStatistics',
      method: 'POST',
      data
  })
}
//按月统计某年需求数
export function getMaterialsCountByMonth(data) {
  return request({
      url: '/api/sysStatistics/getMaterialsCountByMonth',
      method: 'POST',
      data
  })
}

//按月统计某年产品供应数
export function getProductCountByMonth(data) {
  return request({
      url: '/api/sysStatistics/getProductCountByMonth',
      method: 'POST',
      data
  })
}
//全区产品需求数据统计雷达图
export function categoryProductStatis(data) {
  return request({
      url: '/api/sysStatistics/categoryProductStatis',
      method: 'POST',
      data
  })
}


//全区产品需求数据统计
export function statisticsPassCount(data) {
  return request({
      url: '/api/sysStatistics/statisticsPassCount',
      method: 'POST',
      data
  })
}




